import axios from '../common/axios'


// 会员注册
export async function memberRegister(data) {
    let res = await axios.post('/register', data)
    return res
}
//会员登录
export async function memberLogin(data) {
    let res = await axios.post('/login', data)
    return res
}
// 请求购物车数据
export async function getShopcar(data) {
    let res = await axios.get('/cartlist', data)
    return res
}